package com.demo.studentmanager.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.demo.studentmanager.dto.StudentListDto;
import com.demo.studentmanager.entity.Student;
import com.demo.studentmanager.vo.StudentVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author LinQiSen
 */
@Repository
public interface StudentMapper extends BaseMapper<Student> {

    IPage<StudentVO> getStudentList(IPage<StudentVO> page, @Param("search") StudentListDto studentListDto);
}
